package Messages;

import java.io.Serializable;

/**
 *  This message is used while acceptors send as reply to Prepare message. 
 *   
 */
public class PromiseMessage extends Message implements Serializable{
	
	int previousProposalNumber;
	int previousLockNumber;
	
	public int getPreviousProposalNumber() {
		return previousProposalNumber;
	}
	public void setPreviousProposalNumber(int previousProposalNumber) {
		this.previousProposalNumber = previousProposalNumber;
	}
	public int getPreviousLockNumber() {
		return previousLockNumber;
	}
	public void setPreviousLockNumber(int previousLockNumber) {
		this.previousLockNumber = previousLockNumber;
	}
	

}
